/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package main.java.cn.webrx;

import java.io.File;
import java.io.IOException;

/**
 * <p>Project: jse2204 - Dir1
 * <p>Powered by webrx On 2022-09-21 11:41:18
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Dir1 {
    public static void main(String[] args) throws IOException {
        String str = "d:\\dir1\\user.txt";
        File f = new File(str);
        f.createNewFile();
        //f.mkdirs();

        System.out.println(f.isFile());
        System.out.println(f.isDirectory());
        System.out.println(f.exists());
    }
}
